package org.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("tb_book")
public class Book {

    /**
     * 记事本id
     */
    @TableId(type = IdType.AUTO)
    private Integer bookId;

    /**
     * 记事标题
     */
    private String bookName;

    /**
     * 记事内容
     */
    private String bookData;

    /**
     * 用户评价
     */
    private String uContent;

    /**
     * 外键用户id
     */
    private Integer uId;
}
